package cn.zjjd.homeworkserver.util;

/**
 * @author: 小胡
 * @create: 2022/12/20
 * @Description: 用来让返回的数据转为JSON格式
 * @FileName: ReturnMessage
 * @Version: 1.0
 */
public class ReturnMessage {
    private boolean success;
    private String message;
    private Object data;


    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
